﻿<%@ Page Language="C#" MasterPageFile="~/Templates/Admin.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Admin_MarketPlace_Default" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="MiddleAreaContent" ContentPlaceHolderID="MiddleArea" runat="Server">
    <table width="100%" cellpadding="0" cellspacing="0">
        <tr>
            <td style="height: 20px;">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="center" valign="top">
                <asp:GridView ID="grvMarketPlaceList" runat="server" AutoGenerateColumns="false">
                    <Columns>
                        <asp:BoundField DataField="ItemID" HeaderText="ID#" />
                        <asp:BoundField DataField="UserID" HeaderText="UserID#" />
                        <asp:BoundField DataField="UserName" HeaderText="User Name" />
                        <asp:BoundField DataField="Title" HeaderText="Title" />
                        <asp:BoundField DataField="Date" HeaderText="Submit Date" />
                        <asp:BoundField DataField="ShowContactInfo" HeaderText="ShowContactInfo" />
                        <asp:TemplateField>
                        <ItemTemplate>
                            <a href="<%= BCGC.BLL.Helper.CustomSiteMap.MarketPlaceDetails %>?id=<%#Eval("ItemID") %>">View/Edit</a>
                        </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField>
                        <ItemTemplate>
                        <asp:LinkButton ID="lnbDelete" runat="server" CommandName="cmdDelete"
                                    CommandArgument='<%#Eval("ItemID") %>' Text="Delete" OnClientClick="javascript:return confirm('are you sure, you want to delete?');"></asp:LinkButton>
                        </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Content>
